package com.sj.stone.domain.mysql;

import com.sj.stone.domain.mysql.entry.Store;
import com.sj.stone.domain.mysql.entry.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StoreRepository extends JpaRepository<Store, Long> {

    List<Store> findByDistrict(String district);
    Store findByUserid(String userid);
}
